using MDL.Class;
using MDL.view;
using NGIS.Model;
using NGIS.Data.Schema;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Threading;
using System.Windows.Forms;

namespace MDL
{
    public class frm_mdl : Form
	{
		private Color activeColor = Color.FromArgb(255, 128, 255, 255);

		private Color defaultColor = Color.Gainsboro;

		private Button[] steps = null;

		private GroupBox[] groupBoxes = null;

		public static List<State> States = new List<State>();

		public static List<Label> Labels = new List<Label>();

		private State curState = null;

		private ModelClass modelClass = new ModelClass();

		private State from = null;

		private bool isDrag = false;

		private Point point_ori = default(Point);

		private State newState = null;

		private Label newLabel = null;

		private IContainer components = null;

		private MenuStrip menuStrip1;

		private Panel panel2;

		private GroupBox groupBox6;

		private GroupBox groupBox5;

		private DataGridView dataGridView8;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;

		private Label label19;

		private DataGridView dataGridView7;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;

		private Label label18;

		private DataGridView dataGridView6;

		private Label label17;

		private DataGridView dataGridView5;

		private Label label16;

		private TextBox textBox9;

		private Label label15;

		private TextBox textBox8;

		private Label label14;

		private TextBox textBox7;

		private Label label13;

		private TextBox textBox6;

		private Label label12;

		private GroupBox groupBox4;

		private DataGridView dataGridView4;

		private DataGridViewComboBoxColumn Column5;

		private DataGridViewTextBoxColumn Column14;

		private DataGridViewTextBoxColumn Column6;

		private DataGridViewTextBoxColumn Column7;

		private DataGridViewTextBoxColumn Column8;

		private DataGridViewTextBoxColumn Column9;

		private DataGridViewTextBoxColumn Column10;

		private DataGridViewTextBoxColumn Column11;

		private DataGridViewTextBoxColumn Column12;

		private DataGridViewTextBoxColumn Column13;

		private GroupBox groupBox2;

		private TabControl tabControl1;

		private TabPage tabPage1;

		private GroupBox groupBox3;

		private DataGridView dataGridView3;

		private Label label11;

		private DataGridView dataGridView2;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;

		private DataGridViewTextBoxColumn Column4;

		private Label label10;

		private ComboBox comboBox2;

		private Label label9;

		private Label label8;

		private DataGridView dataGridView1;

		private DataGridViewComboBoxColumn Column1;

		private DataGridViewTextBoxColumn Column2;

		private DataGridViewTextBoxColumn Column3;

		private TextBox textBox5;

		private Label label7;

		private TextBox textBox4;

		private Label label6;

		private TextBox textBox3;

		private Label label5;

		private TextBox textBox2;

		private Label label4;

		private ComboBox comboBox1;

		private Label label3;

		private GroupBox groupBox1;

		private Label treeTip;

		private Button button1;

		private Label label2;

		private TreeView treeView1;

		private TextBox textBox1;

		private Label label1;

		private Panel panel1;

		private Button step5;

		private Button step4;

		private Button step3;

		private Button step2;

		private Button step1;

		private ToolStripMenuItem fileToolStripMenuItem;

		private ToolStripMenuItem generateToolStripMenuItem;

		private ToolStripMenuItem exitToolStripMenuItem;

		private ToolStripMenuItem generateToolStripMenuItem1;

		private ToolStripMenuItem helpToolStripMenuItem;

		private ToolStripMenuItem aboutToolStripMenuItem;

		private Panel panel3;

		private Panel statePanel;

		private ComboBox comboBox3;

		private Label label20;

		private DataGridViewComboBoxColumn dataGridViewTextBoxColumn13;

		private DataGridViewComboBoxColumn dataGridViewTextBoxColumn14;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;

		private DataGridViewComboBoxColumn dataGridViewTextBoxColumn10;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;

		private TabControl tabControl2;

		private TabPage tabPage_graphic;

		private TabPage tabPage_parameter;

		private DataGridView dataGridView11;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn25;

		private Label label21;

		private DataGridView dataGridView10;

		private DataGridViewTextBoxColumn dataGridViewComboBoxColumn3;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;

		private Label label22;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;

		private DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;

		private Label Tip;

		private PictureBox stateBox;

		private Button button2;

		private TabPage add;

		private ContextMenuStrip contextMenuStrip1;

		private ToolStripMenuItem removeToolStripMenuItem;

		private void showTip(string str)
		{
			Tip.Text = str;
		}

		public frm_mdl()
		{
			InitializeComponent();
			steps = new Button[5]
			{
				step1,
				step2,
				step3,
				step4,
				step5
			};
			groupBoxes = new GroupBox[5]
			{
				groupBox1,
				groupBox2,
				groupBox4,
				groupBox6,
				groupBox5
			};
			GroupBox[] array = groupBoxes;
			foreach (GroupBox groupBox in array)
			{
				groupBox.Visible = false;
			}
			groupBox1.Visible = true;
			Control.CheckForIllegalCrossThreadCalls = false;
		}

		private void Form1_Load(object sender, EventArgs e)
		{
			dataGridView2.Rows.Add();
			dataGridView2.Rows.Add();
			dataGridView2.Rows.Add();
			dataGridView2.Rows.Add();
			dataGridView2.Rows[0].Cells[0].Value = "X";
			dataGridView2.Rows[1].Cells[0].Value = "Y";
			dataGridView2.Rows[2].Cells[0].Value = "Z";
			dataGridView2.Rows[3].Cells[0].Value = "T";
		}

		private void step1_Click(object sender, EventArgs e)
		{
			showTip("Ready");
			clearCurState();
			stepByStep(1);
		}

		private void step2_Click(object sender, EventArgs e)
		{
			showTip("Ready");
			clearCurState();
			stepByStep(2);
		}

		private void step3_Click(object sender, EventArgs e)
		{
			showTip("Ready");
			clearCurState();
			stepByStep(3);
		}

		private void step4_Click(object sender, EventArgs e)
		{
			showTip("DoubleClick : show information ,RightMouseButton : connect");
			clearCurState();
			stepByStep(4);
		}

		private void step5_Click(object sender, EventArgs e)
		{
			showTip("Ready");
			clearCurState();
			stepByStep(5);
		}

		private void stepByStep(int step)
		{
			int i;
			for (i = 0; i < step; i++)
			{
				if (i != step - 1)
				{
					groupBoxes[i].Visible = false;
				}
				else
				{
					groupBoxes[i].Visible = true;
				}
				steps[i].BackColor = activeColor;
			}
			for (; i < 5; i++)
			{
				groupBoxes[i].Visible = false;
				steps[i].BackColor = defaultColor;
			}
		}

		private void setParentNodeCheckedState(TreeNode currNode, bool state)
		{
			TreeNode parent = currNode.Parent;
			parent.Checked = state;
			if (currNode.Parent.Parent != null)
			{
				setParentNodeCheckedState(currNode.Parent, state);
			}
		}

		private void setChildNodeCheckedState(TreeNode currNode, bool state)
		{
			TreeNodeCollection nodes = currNode.Nodes;
			if (nodes.Count > 0)
			{
				foreach (TreeNode item in nodes)
				{
					item.Checked = state;
					setChildNodeCheckedState(item, state);
				}
			}
		}

		private void treeView1_AfterCheck(object sender, TreeViewEventArgs e)
		{
			if (e.Action != TreeViewAction.ByMouse)
			{
				return;
			}
			if (e.Node.Checked)
			{
				setChildNodeCheckedState(e.Node, true);
			}
			else if (!e.Node.Checked)
			{
				setChildNodeCheckedState(e.Node, false);
				if (e.Node.Parent != null)
				{
					setParentNodeCheckedState(e.Node, false);
				}
			}
			if (e.Node != treeView1.TopNode)
			{
				TreeNode parent = e.Node.Parent;
				int num = 0;
				foreach (TreeNode node in parent.Nodes)
				{
					if (node.Checked)
					{
						num++;
					}
				}
				if (num == parent.Nodes.Count)
				{
					parent.Checked = true;
				}
			}
			TreeNode topNode = treeView1.TopNode;
			int num2 = 0;
			foreach (TreeNode node2 in topNode.Nodes)
			{
				foreach (TreeNode node3 in node2.Nodes)
				{
					if (node3.Checked)
					{
						num2++;
					}
				}
			}
			switch (num2)
			{
			case 0:
				treeTip.Text = "0 item has been selected";
				break;
			case 1:
				treeTip.Text = "1 item has been selected";
				break;
			default:
				treeTip.Text = num2 + " items have been selected";
				break;
			}
		}

		private void button1_Click(object sender, EventArgs e)
		{
			TreeNode topNode = treeView1.TopNode;
			topNode.Checked = false;
			setChildNodeCheckedState(topNode, false);
			treeTip.Text = "0 item has been selected";
		}

		private void dataGridView1_DataError(object sender, DataGridViewDataErrorEventArgs e)
		{
		}

		private void generateToolStripMenuItem_Click(object sender, EventArgs e)
		{
		}

		private void generateToolStripMenuItem1_Click(object sender, EventArgs e)
		{
			generate();
		}

		private void exitToolStripMenuItem_Click(object sender, EventArgs e)
		{
			Close();
		}

		private void pictureBox1_Click(object sender, EventArgs e)
		{
			clearCurState();
			State state = (State)sender;
			state.BackColor = Color.DeepSkyBlue;
			for (int i = 0; i < States.Count; i++)
			{
				if (state == States[i])
				{
					Labels[i].BackColor = Color.DeepSkyBlue;
				}
			}
			curState = (State)sender;
		}

		private void clearCurState()
		{
			curState = null;
			foreach (Control control in statePanel.Controls)
			{
				if (control is State || control is Label)
				{
					control.BackColor = Color.AliceBlue;
				}
			}
		}

		private void addState(int x, int y)
		{
			State state = new State();
			state.Size = new Size(100, 50);
			state.Location = new Point(x, y);
			state.BackColor = Color.AliceBlue;
			state.BorderStyle = BorderStyle.FixedSingle;
			state.Click += pic_Click;
			state.MouseDown += pictureBox1_MouseDown;
			state.MouseMove += pictureBox1_MouseMove;
			state.MouseUp += pictureBox1_MouseUp;
			state.DoubleClick += pictureBox1_DoubleClick;
			state.Click += pictureBox1_Click;
			newState = state;
			statePanel.Controls.Add(state);
			state.BringToFront();
			StateInfo stateInfo = new StateInfo();
			stateInfo.ID = UUID();
			stateInfo.Name = "state" + (States.Count + 1);
			stateInfo.Type = "basic";
			stateInfo.Events = new Event[0];
			state.StateInfo = stateInfo;
			States.Add(state);
			Label label = new Label();
			label.AutoSize = true;
			label.Font = new Font("Times New Roman", 10f, FontStyle.Regular, GraphicsUnit.Point, 134);
			label.Location = new Point(state.Location.X + 25, state.Location.Y + 19);
			label.Name = "stateLabel" + (Labels.Count + 1);
			label.Size = new Size(56, 14);
			label.TabIndex = 2;
			label.Text = stateInfo.Name;
			label.ForeColor = Color.Black;
			label.BackColor = Color.AliceBlue;
			label.MouseDown += stateLabel_MouseDown;
			label.MouseMove += stateLabel_MouseMove;
			label.MouseUp += stateLabel_MouseUp;
			label.DoubleClick += stateLabel_DoubleClick;
			newLabel = label;
			statePanel.Controls.Add(label);
			label.BringToFront();
			Labels.Add(label);
		}

		private void pic_Click(object sender, EventArgs e)
		{
			MouseEventArgs mouseEventArgs = (MouseEventArgs)e;
			State state = (State)sender;
			if (from == null)
			{
				if (mouseEventArgs.Button == MouseButtons.Right)
				{
					from = state;
				}
				return;
			}
			if (from == state)
			{
				state.StateInfo.To = new List<State>();
			}
			else
			{
				bool flag = false;
				foreach (State item in from.StateInfo.To)
				{
					if (item == state)
					{
						flag = true;
						break;
					}
				}
				if (!flag)
				{
					from.StateInfo.To.Add(state);
				}
			}
			drawLines();
			from = null;
		}

		private void drawLines()
		{
			Bitmap bitmap = new Bitmap(statePanel.Width, statePanel.Height);
			Graphics graphics = Graphics.FromImage(bitmap);
			foreach (State state3 in States)
			{
				foreach (State item in state3.StateInfo.To)
				{
					Point pt = new Point(state3.Location.X + state3.Width / 2, state3.Location.Y + state3.Height / 2);
					Point pt2 = new Point(item.Location.X + item.Width / 2, item.Location.Y + item.Height / 2);
					Point point = new Point((pt.X + pt2.X) / 2, (pt.Y + pt2.Y) / 2);
					graphics.DrawLine(new Pen(Color.Red, 8f), point, pt2);
					Pen pen = new Pen(Color.Red, 8f);
					pen.EndCap = LineCap.ArrowAnchor;
					graphics.DrawLine(pen, pt, point);
				}
			}
			graphics.Dispose();
			statePanel.BackgroundImage = bitmap;
			statePanel.Refresh();
		}

		private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
		{
			if (e.Button == MouseButtons.Left)
			{
				isDrag = true;
				point_ori = new Point(e.X, e.Y);
			}
		}

		private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
		{
			if (e.Button != MouseButtons.Left || !isDrag)
			{
				return;
			}
			int num = e.X - point_ori.X;
			int num2 = e.Y - point_ori.Y;
			Control control = (Control)sender;
			Point location = control.Location;
			control.Location = new Point(location.X + num, location.Y + num2);
			for (int i = 0; i < States.Count; i++)
			{
				if (control == States[i])
				{
					int width = Labels[i].Width;
					Labels[i].Location = new Point(control.Location.X + 25 - (width - 56) / 2, control.Location.Y + 19);
					break;
				}
			}
			drawLines();
		}

		private void pictureBox1_MouseUp(object sender, MouseEventArgs e)
		{
			if (e.Button == MouseButtons.Left)
			{
				isDrag = false;
			}
		}

		private void pictureBox1_DoubleClick(object sender, EventArgs e)
		{
			StateInfomation stateInfomation = new StateInfomation(((State)sender).StateInfo);
			stateInfomation.Show();
		}

		private string UUID()
		{
			char[] array = new char[36];
			string text = "0123456789abcdef";
			Random random = new Random();
			for (int i = 0; i < 36; i++)
			{
				char[] array2 = text.Substring(random.Next(16), 1).ToCharArray();
				array[i] = array2[0];
			}
			array[14] = '4';
			char[] array3 = text.Substring((array[19] & 3) | 8, 1).ToCharArray();
			char c;
			array[18] = (c = (array[23] = '-'));
			array[13] = (c = c);
			array[8] = c;
			string text2 = "";
			for (int j = 0; j < 36; j++)
			{
				text2 += array[j].ToString();
			}
			return text2;
		}

		private void stateLabel_DoubleClick(object sender, EventArgs e)
		{
			int num = 0;
			while (true)
			{
				if (num < Labels.Count)
				{
					if (Labels[num] == (Control)sender)
					{
						break;
					}
					num++;
					continue;
				}
				return;
			}
			pictureBox1_DoubleClick(States[num], e);
		}

		private void generate()
		{
			modelClass = new ModelClass();
			modelClass.setName(textBox1.Text);
			modelClass.setUID(UUID());
			EExecutionStyle executionStyle = EExecutionStyle.EES_SIMPLE_CALCULATION;
			switch (comboBox3.Text)
			{
			case "SimpleCalculation":
				executionStyle = EExecutionStyle.EES_SIMPLE_CALCULATION;
				break;
			case "TimeSeries":
				executionStyle = EExecutionStyle.EES_TIME_SERIES;
				break;
			case "StateSimulation":
				executionStyle = EExecutionStyle.EES_STATE_SIMULATION;
				break;
			}
			modelClass.setExecutionStyle(executionStyle);
			ModelAttribute modelAttribute = modelClass.getModelAttribute();
			TreeNode topNode = treeView1.TopNode;
			foreach (TreeNode node in topNode.Nodes)
			{
				foreach (TreeNode node2 in node.Nodes)
				{
					if (node2.Checked)
					{
						ModelCategory pCategoryInfo = default(ModelCategory);
						pCategoryInfo.principle = node2.Text;
						pCategoryInfo.path = "Earth System Classification/" + node.Text;
						modelAttribute.addCategoryInfo(ref pCategoryInfo);
					}
				}
			}
			LocalAttribute pLocalAttribute = default(LocalAttribute);
			pLocalAttribute.localName = textBox2.Text;
			pLocalAttribute.wikiUrl = textBox3.Text;
			ELocalizationType localType = ELocalizationType.ELT_EN_US;
			switch (comboBox1.Text)
			{
			case "ZH_CN":
				localType = ELocalizationType.ELT_ZH_CN;
				break;
			case "EN_US":
				localType = ELocalizationType.ELT_EN_US;
				break;
			case "DE_DE":
				localType = ELocalizationType.ELT_DE_DE;
				break;
			case "RU_RU":
				localType = ELocalizationType.ELT_RU_RU;
				break;
			case "AR":
				localType = ELocalizationType.ELT_AR;
				break;
			case "ES":
				localType = ELocalizationType.ELT_ES;
				break;
			case "Others":
				localType = ELocalizationType.ELT_OTHERS;
				break;
			case "COUNT":
				localType = ELocalizationType.ELT_COUNT;
				break;
			}
			pLocalAttribute.localType = localType;
			string[] array = textBox4.Text.Split(';');
			List<string> list = new List<string>();
			string[] array2 = array;
			foreach (string item in array2)
			{
				list.Add(item);
			}
			pLocalAttribute.keywords = list;
			pLocalAttribute.abstractInfo = textBox5.Text;
			List<ModelMechanismItem> list2 = new List<ModelMechanismItem>();
			for (int j = 0; j < dataGridView1.RowCount - 1; j++)
			{
				EMechanismItemType eMechanismItemType = EMechanismItemType.EMIT_Unknown;
				switch (Convert.ToString(dataGridView1.Rows[j].Cells[0].Value))
				{
				case "Text":
					eMechanismItemType = EMechanismItemType.EMIT_Text;
					break;
				case "Formula":
					eMechanismItemType = EMechanismItemType.EMIT_Formula;
					break;
				case "Algorithm":
					eMechanismItemType = EMechanismItemType.EMIT_Algorithm;
					break;
				default:
					eMechanismItemType = EMechanismItemType.EMIT_Unknown;
					break;
				}
				ModelMechanismItem item2 = new ModelMechanismItem(Convert.ToString(dataGridView1.Rows[j].Cells[1].Value), eMechanismItemType, Convert.ToString(dataGridView1.Rows[j].Cells[2].Value));
				list2.Add(item2);
			}
			pLocalAttribute.mechanismItems = list2;
			ESpatiotemporalScaleType sptimeScaleType = ESpatiotemporalScaleType.EMSST_Unknown;
			string text = comboBox2.Text;
			if (comboBox2.Text == "Global")
			{
				sptimeScaleType = ESpatiotemporalScaleType.EMSST_Global;
			}
			else if (text == "Regional/Large")
			{
				sptimeScaleType = ESpatiotemporalScaleType.EMSST_Region_Large;
			}
			else if (text == "Regional/Middle")
			{
				sptimeScaleType = ESpatiotemporalScaleType.EMSST_Region_Middle;
			}
			else if (text == "Regional/Small")
			{
				sptimeScaleType = ESpatiotemporalScaleType.EMSST_Region_Small;
			}
			pLocalAttribute.sptimeScaleType = sptimeScaleType;
			if (Convert.ToString(dataGridView2.Rows[0].Cells[1].Value) != "" && Convert.ToString(dataGridView2.Rows[0].Cells[2].Value) != "")
			{
				pLocalAttribute.sslX = new SpatiotemporalStepLength(Convert.ToDouble(Convert.ToString(dataGridView2.Rows[0].Cells[1].Value)), Convert.ToDouble(Convert.ToString(dataGridView2.Rows[0].Cells[2].Value)), Convert.ToString(dataGridView2.Rows[0].Cells[3].Value));
			}
			if (Convert.ToString(dataGridView2.Rows[1].Cells[1].Value) != "" && Convert.ToString(dataGridView2.Rows[1].Cells[2].Value) != "")
			{
				pLocalAttribute.sslY = new SpatiotemporalStepLength(Convert.ToDouble(Convert.ToString(dataGridView2.Rows[1].Cells[1].Value)), Convert.ToDouble(Convert.ToString(dataGridView2.Rows[1].Cells[2].Value)), Convert.ToString(dataGridView2.Rows[1].Cells[3].Value));
			}
			if (Convert.ToString(dataGridView2.Rows[2].Cells[1].Value) != "" && Convert.ToString(dataGridView2.Rows[2].Cells[2].Value) != "")
			{
				pLocalAttribute.sslZ = new SpatiotemporalStepLength(Convert.ToDouble(Convert.ToString(dataGridView2.Rows[2].Cells[1].Value)), Convert.ToDouble(Convert.ToString(dataGridView2.Rows[2].Cells[2].Value)), Convert.ToString(dataGridView2.Rows[2].Cells[3].Value));
			}
			if (Convert.ToString(dataGridView2.Rows[3].Cells[1].Value) != "" && Convert.ToString(dataGridView2.Rows[3].Cells[2].Value) != "")
			{
				pLocalAttribute.sslT = new SpatiotemporalStepLength(Convert.ToDouble(Convert.ToString(dataGridView2.Rows[3].Cells[1].Value)), Convert.ToDouble(Convert.ToString(dataGridView2.Rows[3].Cells[2].Value)), Convert.ToString(dataGridView2.Rows[3].Cells[3].Value));
			}
			SpatialScope spatialScope = default(SpatialScope);
			List<string> list3 = new List<string>();
			List<SpatialExtent> list4 = new List<SpatialExtent>();
			for (int k = 0; k < dataGridView3.RowCount - 1; k++)
			{
				list3.Add(Convert.ToString(dataGridView3.Rows[k].Cells[0].Value));
				if (Convert.ToString(dataGridView3.Rows[k].Cells[1].Value) != "" && Convert.ToString(dataGridView3.Rows[k].Cells[2].Value) != "" && Convert.ToString(dataGridView3.Rows[k].Cells[3].Value) != "" && Convert.ToString(dataGridView3.Rows[k].Cells[4].Value) != "")
				{
					SpatialExtent item3 = new SpatialExtent(Convert.ToDouble(Convert.ToString(dataGridView3.Rows[k].Cells[1].Value)), Convert.ToDouble(Convert.ToString(dataGridView3.Rows[k].Cells[2].Value)), Convert.ToDouble(Convert.ToString(dataGridView3.Rows[k].Cells[3].Value)), Convert.ToDouble(Convert.ToString(dataGridView3.Rows[k].Cells[4].Value)), Convert.ToString(dataGridView3.Rows[k].Cells[5].Value));
					list4.Add(item3);
				}
			}
			spatialScope.AreaNames = list3;
			spatialScope.Extents = list4;
			pLocalAttribute.spatialScope = spatialScope;
			modelAttribute.addLocalAttributeInfo(ref pLocalAttribute);
			for (int l = 0; l < dataGridView4.RowCount - 1; l++)
			{
				ModelUserInstitution ins = new ModelUserInstitution(Convert.ToString(dataGridView4.Rows[l].Cells[3].Value), Convert.ToString(dataGridView4.Rows[l].Cells[4].Value), Convert.ToString(dataGridView4.Rows[l].Cells[5].Value), Convert.ToString(dataGridView4.Rows[l].Cells[6].Value));
				List<ModelUserContact> list5 = new List<ModelUserContact>();
				list5.Add(new ModelUserContact(EContactType.ECT_Email, Convert.ToString(dataGridView4.Rows[l].Cells[7].Value)));
				list5.Add(new ModelUserContact(EContactType.ECT_Fax, Convert.ToString(dataGridView4.Rows[l].Cells[8].Value)));
				list5.Add(new ModelUserContact(EContactType.ECT_Phone, Convert.ToString(dataGridView4.Rows[l].Cells[9].Value)));
				ModelUser builder = new ModelUser(Convert.ToString(dataGridView4.Rows[l].Cells[2].Value), Convert.ToString(dataGridView4.Rows[l].Cells[1].Value), ins, list5);
				switch (Convert.ToString(dataGridView4.Rows[l].Cells[0].Value))
				{
				case "Author":
					modelAttribute.addAuthor(ref builder);
					break;
				case "Wrapper":
					modelAttribute.addWrapper(ref builder);
					break;
				case "Builder":
					modelAttribute.addBuilder(ref builder);
					break;
				}
			}
			ModelRuntime modelRuntime = modelClass.getModelRuntime();
			modelRuntime.setName(textBox6.Text);
			modelRuntime.setVersion(textBox7.Text);
			modelRuntime.setBaseDirectory(textBox8.Text);
			modelRuntime.setEntry(textBox9.Text);
			for (int m = 0; m < dataGridView5.RowCount - 1; m++)
			{
				HardwareRequirement pRequirement = default(HardwareRequirement);
				pRequirement.requirementKey = Convert.ToString(dataGridView5.Rows[m].Cells[0].Value);
				pRequirement.requirementValue = "[";
				pRequirement.requirementValue += ((Convert.ToString(dataGridView5.Rows[m].Cells[1].Value) == "") ? "0," : (Convert.ToString(dataGridView5.Rows[m].Cells[1].Value) + ","));
				pRequirement.requirementValue += ((Convert.ToString(dataGridView5.Rows[m].Cells[2].Value) == "") ? "infinite)" : (Convert.ToString(dataGridView5.Rows[m].Cells[2].Value) + "]"));
				modelRuntime.addHardwareRequirement(ref pRequirement);
			}
			for (int n = 0; n < dataGridView6.RowCount - 1; n++)
			{
				SoftwareRequirement pRequirement2 = default(SoftwareRequirement);
				pRequirement2.requirementKey = Convert.ToString(dataGridView6.Rows[n].Cells[0].Value);
				pRequirement2.requirementValue = Convert.ToString(dataGridView6.Rows[n].Cells[2].Value);
				pRequirement2.requirementPlatform = Convert.ToString(dataGridView6.Rows[n].Cells[1].Value);
				modelRuntime.addSoftwareRequirement(ref pRequirement2);
			}
			for (int num = 0; num < dataGridView7.RowCount - 1; num++)
			{
				ModelAssembly pRequirement3 = default(ModelAssembly);
				pRequirement3.assemblyName = Convert.ToString(dataGridView7.Rows[num].Cells[0].Value);
				pRequirement3.assemblyPath = Convert.ToString(dataGridView7.Rows[num].Cells[1].Value);
				modelRuntime.addModelAssembly(ref pRequirement3);
			}
			for (int num2 = 0; num2 < dataGridView8.RowCount - 1; num2++)
			{
				SupportiveResource pRequirement4 = default(SupportiveResource);
				pRequirement4.resourceType = Convert.ToString(dataGridView8.Rows[num2].Cells[0].Value);
				pRequirement4.resourceName = Convert.ToString(dataGridView8.Rows[num2].Cells[1].Value);
				modelRuntime.addSupportiveResource(ref pRequirement4);
			}
			ModelBehavior modelBehavior = modelClass.getModelBehavior();
			foreach (State state3 in States)
			{
				ModelState pState = default(ModelState);
				pState.stateId = state3.StateInfo.ID;
				pState.stateName = state3.StateInfo.Name;
				pState.stateType = ((!(state3.StateInfo.Type == "basic")) ? EModelStateType.EMST_GROUP : EModelStateType.EMST_BASIC);
				pState.stateDecription = state3.StateInfo.Description;
				pState.modelEvents = new List<ModelEvent>();
				Event[] events = state3.StateInfo.Events;
				foreach (Event @event in events)
				{
					ModelEvent item4 = default(ModelEvent);
					item4.eventName = @event.Name;
					item4.eventType = ((!(@event.Type == "response(input)")) ? ((@event.Type == "noresponse(output)") ? EModelEventType.EMET_NORESPONSE : EModelEventType.EMET_CONTROL) : EModelEventType.EMET_RESPONSE);
					item4.eventDescription = @event.Description;
					item4.optional = ((!(@event.Optional == "False")) ? true : false);
					item4.datasetReference = @event.DatasetReference.Name;
					item4.parameterDescription = "";
					pState.modelEvents.Add(item4);
					Dataset datasetReference = @event.DatasetReference;
					ModelDatasetItem pDataset = default(ModelDatasetItem);
					pDataset.datasetName = datasetReference.Name;
					pDataset.datasetItemDescription = datasetReference.Description;
					if (datasetReference.Type == "internal")
					{
						pDataset.datasetItemType = EModelDatasetItemType.EMDIT_INTERNAL;
						UdxDatasetSchema udxDatasetSchema = new UdxDatasetSchema(null, datasetReference.Name);
						UdxNodeSchema udxNodeSchema = udxDatasetSchema.addChildNode("node1", ESchemaNodeType.EDTKT_INT, "int");
						pDataset.externalId = "";
						pDataset.datasetItem = udxDatasetSchema;
					}
					else
					{
						pDataset.datasetItemType = EModelDatasetItemType.EMDIT_EXTERNAL;
						pDataset.externalId = datasetReference.ExternalId;
						pDataset.datasetItem = null;
					}
					modelBehavior.addModelDatasetItem(ref pDataset);
				}
				modelBehavior.addModelState(ref pState);
			}
			foreach (State state4 in States)
			{
				if (state4.StateInfo.To.Count > 0)
				{
					foreach (State item5 in state4.StateInfo.To)
					{
						modelBehavior.addModelStateTransition(state4.StateInfo.ID, item5.StateInfo.ID);
					}
				}
			}
			for (int num4 = 0; num4 < dataGridView10.RowCount - 1; num4++)
			{
				ModelParameter controlparameter = new ModelParameter(Convert.ToString(dataGridView10.Rows[num4].Cells[0].Value), Convert.ToString(dataGridView10.Rows[num4].Cells[1].Value), Convert.ToString(dataGridView10.Rows[num4].Cells[2].Value));
				modelBehavior.addControlParameter(controlparameter);
			}
			for (int num5 = 0; num5 < dataGridView11.RowCount - 1; num5++)
			{
				ModelParameter processparameter = new ModelParameter(Convert.ToString(dataGridView11.Rows[num5].Cells[0].Value), Convert.ToString(dataGridView11.Rows[num5].Cells[1].Value), Convert.ToString(dataGridView11.Rows[num5].Cells[2].Value));
				modelBehavior.addProcessParameter(processparameter);
			}
			Thread thread = new Thread(saveDialog);
			thread.IsBackground = true;
			thread.SetApartmentState(ApartmentState.STA);
			thread.Start();
		}

		private void saveDialog()
		{
			SaveFileDialog saveFileDialog = new SaveFileDialog();
			saveFileDialog.Filter = "MDL 文件(*.mdl)|*.mdl";
			saveFileDialog.FileName = ((modelClass.getName() == "") ? "New" : modelClass.getName()) + ".mdl";
			saveFileDialog.FilterIndex = 0;
			saveFileDialog.RestoreDirectory = true;
			if (saveFileDialog.ShowDialog() == DialogResult.OK)
			{
				modelClass.FormatToXmlFile(saveFileDialog.FileName.ToString());
			}
		}

		private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
		{
			About about = new About();
			about.ShowDialog();
		}

		private void main_KeyDown(object sender, KeyEventArgs e)
		{
			if (e.KeyCode != Keys.Delete || curState == null)
			{
				return;
			}
			for (int num = States.Count - 1; num >= 0; num--)
			{
				State state = States[num];
				if (state == curState)
				{
					statePanel.Controls.Remove(Labels[num]);
					Labels.RemoveAt(num);
				}
				else
				{
					state.StateInfo.To.Remove(curState);
				}
			}
			States.Remove(curState);
			statePanel.Controls.Remove(curState);
			curState = null;
			drawLines();
		}

		private void statePanel_Click(object sender, EventArgs e)
		{
			clearCurState();
		}

		private void tabControl2_SelectedIndexChanged(object sender, EventArgs e)
		{
			clearCurState();
		}

		private void keywords_Enter(object sender, EventArgs e)
		{
			showTip("Please separate the different keywords with ';'");
		}

		private void Control_Leave(object sender, EventArgs e)
		{
			showTip("");
		}

		private void wiki_Enter(object sender, EventArgs e)
		{
			showTip("eg.https://en.wikipedia.org/wiki/Nanjing");
		}

		private void textBox7_Enter(object sender, EventArgs e)
		{
			showTip("eg.v1.1.0");
		}

		private void textBox9_Enter(object sender, EventArgs e)
		{
			showTip("eg.$(ModelServicePath)\\SWATModelAllInOne.exe");
		}

		private void textBox8_Enter(object sender, EventArgs e)
		{
			showTip("eg.$(ModelServicePath)\\SWATModelAllInOne");
		}

		private void stateBox_MouseMove(object sender, MouseEventArgs e)
		{
			int num = -stateBox.Location.X + statePanel.Location.X;
			int num2 = -stateBox.Location.Y + statePanel.Location.Y;
			int num3 = -stateBox.Location.X + (statePanel.Location.X + statePanel.Width);
			int num4 = -stateBox.Location.Y + (statePanel.Location.Y + statePanel.Height);
			if (newState == null && e.X > num && e.X < num3 && e.Y > num2 && e.Y < num4)
			{
				addState(e.X - num - 50, e.Y - num2 - 25);
			}
			if (newState != null && e.X > num && e.X < num3 && e.Y > num2 && e.Y < num4)
			{
				newState.Location = new Point(e.X - num - 50, e.Y - num2 - 25);
				newLabel.Location = new Point(e.X - num + 25 - 50, e.Y - num2 + 19 - 25);
			}
		}

		private void stateBox_MouseUp(object sender, MouseEventArgs e)
		{
			newState = null;
			newLabel = null;
		}

		private void stateLabel_MouseDown(object sender, MouseEventArgs e)
		{
			for (int i = 0; i < Labels.Count; i++)
			{
				Label label = (Label)sender;
				if (label == Labels[i])
				{
					pictureBox1_MouseDown(States[i], e);
				}
			}
		}

		private void stateLabel_MouseMove(object sender, MouseEventArgs e)
		{
			for (int i = 0; i < Labels.Count; i++)
			{
				Label label = (Label)sender;
				if (label == Labels[i])
				{
					pictureBox1_MouseMove(States[i], e);
				}
			}
		}

		private void stateLabel_MouseUp(object sender, MouseEventArgs e)
		{
			for (int i = 0; i < Labels.Count; i++)
			{
				Label label = (Label)sender;
				if (label == Labels[i])
				{
					pictureBox1_MouseUp(States[i], e);
				}
			}
		}

		private void button2_Click(object sender, EventArgs e)
		{
			Thread thread = new Thread(openDialog);
			thread.IsBackground = true;
			thread.SetApartmentState(ApartmentState.STA);
			thread.Start();
		}

		private void openDialog()
		{
			OpenFileDialog openFileDialog = new OpenFileDialog();
			openFileDialog.InitialDirectory = "d:\\";
			openFileDialog.Filter = "exe file (*.exe)|*.exe";
			openFileDialog.FilterIndex = 0;
			openFileDialog.RestoreDirectory = true;
			if (openFileDialog.ShowDialog() == DialogResult.OK)
			{
				try
				{
					if (openFileDialog.OpenFile() != null)
					{
						string[] array = openFileDialog.FileName.Split('\\');
						textBox9.Text = "$(ModelServicePath)\\" + array[array.Length - 1];
					}
				}
				catch (Exception ex)
				{
					MessageBox.Show("Open file error: " + ex.Message);
				}
			}
		}

		private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
		{
			if (tabControl1.SelectedIndex == tabControl1.TabPages.Count - 1 && tabControl1.SelectedIndex != 0)
			{
				tabControl1.TabPages.RemoveAt(tabControl1.TabPages.Count - 1);
				AttributePage attributePage = new AttributePage();
				attributePage.Init(Tip);
				tabControl1.Controls.Add(attributePage.getPage());
				TabPage tabPage = new TabPage();
				tabPage.Name = "add";
				tabPage.Size = new Size(717, 615);
				tabPage.Text = "  +";
				tabPage.UseVisualStyleBackColor = true;
				tabControl1.Controls.Add(tabPage);
				tabControl1.SelectedIndex = tabControl1.TabPages.Count - 2;
			}
		}

		private void removeToolStripMenuItem_Click(object sender, EventArgs e)
		{
			if (tabControl1.TabPages.Count > 2)
			{
				tabControl1.TabPages.RemoveAt(tabControl1.SelectedIndex);
			}
			else
			{
				MessageBox.Show("The last TabPage cannot be removed.");
			}
		}

		protected override void Dispose(bool disposing)
		{
			if (disposing && components != null)
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		private void InitializeComponent()
		{
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_mdl));
            System.Windows.Forms.TreeNode treeNode47 = new System.Windows.Forms.TreeNode("Water System Synthetic Models");
            System.Windows.Forms.TreeNode treeNode48 = new System.Windows.Forms.TreeNode("Atmosphere Water System Models");
            System.Windows.Forms.TreeNode treeNode49 = new System.Windows.Forms.TreeNode("Ocean Water System Models");
            System.Windows.Forms.TreeNode treeNode50 = new System.Windows.Forms.TreeNode("Surface Water System Models");
            System.Windows.Forms.TreeNode treeNode51 = new System.Windows.Forms.TreeNode("Underground Water System Models");
            System.Windows.Forms.TreeNode treeNode52 = new System.Windows.Forms.TreeNode("Ice-Snow Water System Models");
            System.Windows.Forms.TreeNode treeNode53 = new System.Windows.Forms.TreeNode("Water System Models", new System.Windows.Forms.TreeNode[] {
            treeNode47,
            treeNode48,
            treeNode49,
            treeNode50,
            treeNode51,
            treeNode52});
            System.Windows.Forms.TreeNode treeNode54 = new System.Windows.Forms.TreeNode("Soil System Synthetic Models");
            System.Windows.Forms.TreeNode treeNode55 = new System.Windows.Forms.TreeNode("Soil System Physical Models");
            System.Windows.Forms.TreeNode treeNode56 = new System.Windows.Forms.TreeNode("Soil System Chemical Models");
            System.Windows.Forms.TreeNode treeNode57 = new System.Windows.Forms.TreeNode("Soil System Ecological Models");
            System.Windows.Forms.TreeNode treeNode58 = new System.Windows.Forms.TreeNode("Soil System Statistical Models");
            System.Windows.Forms.TreeNode treeNode59 = new System.Windows.Forms.TreeNode("Soil System Models", new System.Windows.Forms.TreeNode[] {
            treeNode54,
            treeNode55,
            treeNode56,
            treeNode57,
            treeNode58});
            System.Windows.Forms.TreeNode treeNode60 = new System.Windows.Forms.TreeNode("Atmosphere Models");
            System.Windows.Forms.TreeNode treeNode61 = new System.Windows.Forms.TreeNode("Atmosphere System Physical Models");
            System.Windows.Forms.TreeNode treeNode62 = new System.Windows.Forms.TreeNode("Atmosphere System Chemical Models");
            System.Windows.Forms.TreeNode treeNode63 = new System.Windows.Forms.TreeNode("Atmosphere System Ecological Models");
            System.Windows.Forms.TreeNode treeNode64 = new System.Windows.Forms.TreeNode("Atmosphere System Statistical Models");
            System.Windows.Forms.TreeNode treeNode65 = new System.Windows.Forms.TreeNode("Atmosphere System Models", new System.Windows.Forms.TreeNode[] {
            treeNode60,
            treeNode61,
            treeNode62,
            treeNode63,
            treeNode64});
            System.Windows.Forms.TreeNode treeNode66 = new System.Windows.Forms.TreeNode("Ecology System Synthetic Models");
            System.Windows.Forms.TreeNode treeNode67 = new System.Windows.Forms.TreeNode("Forest Ecology System Models");
            System.Windows.Forms.TreeNode treeNode68 = new System.Windows.Forms.TreeNode("Agriculture Ecology System Models");
            System.Windows.Forms.TreeNode treeNode69 = new System.Windows.Forms.TreeNode("Grassland Ecology System Models");
            System.Windows.Forms.TreeNode treeNode70 = new System.Windows.Forms.TreeNode("Wetland Ecology System Models");
            System.Windows.Forms.TreeNode treeNode71 = new System.Windows.Forms.TreeNode("Freshwater Ecology System Models");
            System.Windows.Forms.TreeNode treeNode72 = new System.Windows.Forms.TreeNode("Seawater Ecology System Models");
            System.Windows.Forms.TreeNode treeNode73 = new System.Windows.Forms.TreeNode("City Ecology System Models");
            System.Windows.Forms.TreeNode treeNode74 = new System.Windows.Forms.TreeNode("Ecology System Models", new System.Windows.Forms.TreeNode[] {
            treeNode66,
            treeNode67,
            treeNode68,
            treeNode69,
            treeNode70,
            treeNode71,
            treeNode72,
            treeNode73});
            System.Windows.Forms.TreeNode treeNode75 = new System.Windows.Forms.TreeNode("Human/Society/Economy System Synthetic Models");
            System.Windows.Forms.TreeNode treeNode76 = new System.Windows.Forms.TreeNode("Human/Society/Economy System Physical Models");
            System.Windows.Forms.TreeNode treeNode77 = new System.Windows.Forms.TreeNode("Human/Society/Economy System Chemical Models");
            System.Windows.Forms.TreeNode treeNode78 = new System.Windows.Forms.TreeNode("Human/Society/Economy System Ecological Models");
            System.Windows.Forms.TreeNode treeNode79 = new System.Windows.Forms.TreeNode("Human/Society/Economy System Statistical Models");
            System.Windows.Forms.TreeNode treeNode80 = new System.Windows.Forms.TreeNode("Human/Society/Economy System Models", new System.Windows.Forms.TreeNode[] {
            treeNode75,
            treeNode76,
            treeNode77,
            treeNode78,
            treeNode79});
            System.Windows.Forms.TreeNode treeNode81 = new System.Windows.Forms.TreeNode("Atmosphere System Models");
            System.Windows.Forms.TreeNode treeNode82 = new System.Windows.Forms.TreeNode("Land Surface Models");
            System.Windows.Forms.TreeNode treeNode83 = new System.Windows.Forms.TreeNode("Ocean Models");
            System.Windows.Forms.TreeNode treeNode84 = new System.Windows.Forms.TreeNode("Ice Snow Models");
            System.Windows.Forms.TreeNode treeNode85 = new System.Windows.Forms.TreeNode("Solid Earth Models");
            System.Windows.Forms.TreeNode treeNode86 = new System.Windows.Forms.TreeNode("Global Models", new System.Windows.Forms.TreeNode[] {
            treeNode81,
            treeNode82,
            treeNode83,
            treeNode84,
            treeNode85});
            System.Windows.Forms.TreeNode treeNode87 = new System.Windows.Forms.TreeNode("Data management tools");
            System.Windows.Forms.TreeNode treeNode88 = new System.Windows.Forms.TreeNode("Geostatistical Analyst Tools");
            System.Windows.Forms.TreeNode treeNode89 = new System.Windows.Forms.TreeNode("Spatial Analyst Tools");
            System.Windows.Forms.TreeNode treeNode90 = new System.Windows.Forms.TreeNode("3D Analyst Tools");
            System.Windows.Forms.TreeNode treeNode91 = new System.Windows.Forms.TreeNode("GIS Analysis Tools", new System.Windows.Forms.TreeNode[] {
            treeNode87,
            treeNode88,
            treeNode89,
            treeNode90});
            System.Windows.Forms.TreeNode treeNode92 = new System.Windows.Forms.TreeNode("Earth System Classification", new System.Windows.Forms.TreeNode[] {
            treeNode53,
            treeNode59,
            treeNode65,
            treeNode74,
            treeNode80,
            treeNode86,
            treeNode91});
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.generateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.generateToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
            this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.panel2 = new System.Windows.Forms.Panel();
            this.groupBox6 = new System.Windows.Forms.GroupBox();
            this.tabControl2 = new System.Windows.Forms.TabControl();
            this.tabPage_graphic = new System.Windows.Forms.TabPage();
            this.stateBox = new System.Windows.Forms.PictureBox();
            this.statePanel = new System.Windows.Forms.Panel();
            this.tabPage_parameter = new System.Windows.Forms.TabPage();
            this.dataGridView11 = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.label21 = new System.Windows.Forms.Label();
            this.dataGridView10 = new System.Windows.Forms.DataGridView();
            this.dataGridViewComboBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.label22 = new System.Windows.Forms.Label();
            this.panel3 = new System.Windows.Forms.Panel();
            this.Tip = new System.Windows.Forms.Label();
            this.panel1 = new System.Windows.Forms.Panel();
            this.step5 = new System.Windows.Forms.Button();
            this.step4 = new System.Windows.Forms.Button();
            this.step3 = new System.Windows.Forms.Button();
            this.step2 = new System.Windows.Forms.Button();
            this.step1 = new System.Windows.Forms.Button();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.dataGridView3 = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.label11 = new System.Windows.Forms.Label();
            this.dataGridView2 = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.label10 = new System.Windows.Forms.Label();
            this.comboBox2 = new System.Windows.Forms.ComboBox();
            this.label9 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.dataGridView1 = new System.Windows.Forms.DataGridView();
            this.Column1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.textBox5 = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.textBox4 = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.textBox3 = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.textBox2 = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.comboBox1 = new System.Windows.Forms.ComboBox();
            this.label3 = new System.Windows.Forms.Label();
            this.add = new System.Windows.Forms.TabPage();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.comboBox3 = new System.Windows.Forms.ComboBox();
            this.label20 = new System.Windows.Forms.Label();
            this.treeTip = new System.Windows.Forms.Label();
            this.button1 = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.dataGridView4 = new System.Windows.Forms.DataGridView();
            this.Column5 = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.groupBox5 = new System.Windows.Forms.GroupBox();
            this.button2 = new System.Windows.Forms.Button();
            this.dataGridView8 = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.label19 = new System.Windows.Forms.Label();
            this.dataGridView7 = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.label18 = new System.Windows.Forms.Label();
            this.dataGridView6 = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.label17 = new System.Windows.Forms.Label();
            this.dataGridView5 = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.label16 = new System.Windows.Forms.Label();
            this.textBox9 = new System.Windows.Forms.TextBox();
            this.label15 = new System.Windows.Forms.Label();
            this.textBox8 = new System.Windows.Forms.TextBox();
            this.label14 = new System.Windows.Forms.Label();
            this.textBox7 = new System.Windows.Forms.TextBox();
            this.label13 = new System.Windows.Forms.Label();
            this.textBox6 = new System.Windows.Forms.TextBox();
            this.label12 = new System.Windows.Forms.Label();
            this.menuStrip1.SuspendLayout();
            this.panel2.SuspendLayout();
            this.groupBox6.SuspendLayout();
            this.tabControl2.SuspendLayout();
            this.tabPage_graphic.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.stateBox)).BeginInit();
            this.tabPage_parameter.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView11)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView10)).BeginInit();
            this.panel3.SuspendLayout();
            this.panel1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.tabControl1.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.groupBox3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.groupBox4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView4)).BeginInit();
            this.groupBox5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView5)).BeginInit();
            this.SuspendLayout();
            // 
            // menuStrip1
            // 
            this.menuStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.fileToolStripMenuItem,
            this.generateToolStripMenuItem,
            this.helpToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Padding = new System.Windows.Forms.Padding(9, 3, 0, 3);
            this.menuStrip1.Size = new System.Drawing.Size(1174, 34);
            this.menuStrip1.TabIndex = 17;
            this.menuStrip1.Text = "menuStrip1";
            // 
            // fileToolStripMenuItem
            // 
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.exitToolStripMenuItem});
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size = new System.Drawing.Size(52, 28);
            this.fileToolStripMenuItem.Text = "File";
            // 
            // exitToolStripMenuItem
            // 
            this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size = new System.Drawing.Size(123, 30);
            this.exitToolStripMenuItem.Text = "Exit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
            // 
            // generateToolStripMenuItem
            // 
            this.generateToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.generateToolStripMenuItem1});
            this.generateToolStripMenuItem.Name = "generateToolStripMenuItem";
            this.generateToolStripMenuItem.Size = new System.Drawing.Size(66, 28);
            this.generateToolStripMenuItem.Text = "Build";
            this.generateToolStripMenuItem.Click += new System.EventHandler(this.generateToolStripMenuItem_Click);
            // 
            // generateToolStripMenuItem1
            // 
            this.generateToolStripMenuItem1.Name = "generateToolStripMenuItem1";
            this.generateToolStripMenuItem1.Size = new System.Drawing.Size(170, 30);
            this.generateToolStripMenuItem1.Text = "Generate";
            this.generateToolStripMenuItem1.Click += new System.EventHandler(this.generateToolStripMenuItem1_Click);
            // 
            // helpToolStripMenuItem
            // 
            this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.aboutToolStripMenuItem});
            this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
            this.helpToolStripMenuItem.Size = new System.Drawing.Size(63, 28);
            this.helpToolStripMenuItem.Text = "Help";
            // 
            // aboutToolStripMenuItem
            // 
            this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
            this.aboutToolStripMenuItem.Size = new System.Drawing.Size(146, 30);
            this.aboutToolStripMenuItem.Text = "About";
            this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.groupBox6);
            this.panel2.Controls.Add(this.panel3);
            this.panel2.Controls.Add(this.panel1);
            this.panel2.Controls.Add(this.groupBox2);
            this.panel2.Controls.Add(this.groupBox1);
            this.panel2.Controls.Add(this.groupBox4);
            this.panel2.Controls.Add(this.groupBox5);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel2.Location = new System.Drawing.Point(0, 34);
            this.panel2.Margin = new System.Windows.Forms.Padding(4);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(1174, 1226);
            this.panel2.TabIndex = 18;
            // 
            // groupBox6
            // 
            this.groupBox6.Controls.Add(this.tabControl2);
            this.groupBox6.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.groupBox6.Location = new System.Drawing.Point(18, 130);
            this.groupBox6.Margin = new System.Windows.Forms.Padding(4);
            this.groupBox6.Name = "groupBox6";
            this.groupBox6.Padding = new System.Windows.Forms.Padding(4);
            this.groupBox6.Size = new System.Drawing.Size(1137, 1035);
            this.groupBox6.TabIndex = 22;
            this.groupBox6.TabStop = false;
            this.groupBox6.Text = "Behavior";
            // 
            // tabControl2
            // 
            this.tabControl2.Controls.Add(this.tabPage_graphic);
            this.tabControl2.Controls.Add(this.tabPage_parameter);
            this.tabControl2.Location = new System.Drawing.Point(10, 38);
            this.tabControl2.Margin = new System.Windows.Forms.Padding(4);
            this.tabControl2.Name = "tabControl2";
            this.tabControl2.SelectedIndex = 0;
            this.tabControl2.Size = new System.Drawing.Size(1088, 994);
            this.tabControl2.TabIndex = 2;
            this.tabControl2.SelectedIndexChanged += new System.EventHandler(this.tabControl2_SelectedIndexChanged);
            // 
            // tabPage_graphic
            // 
            this.tabPage_graphic.Controls.Add(this.stateBox);
            this.tabPage_graphic.Controls.Add(this.statePanel);
            this.tabPage_graphic.Location = new System.Drawing.Point(4, 38);
            this.tabPage_graphic.Margin = new System.Windows.Forms.Padding(4);
            this.tabPage_graphic.Name = "tabPage_graphic";
            this.tabPage_graphic.Padding = new System.Windows.Forms.Padding(4);
            this.tabPage_graphic.Size = new System.Drawing.Size(1080, 952);
            this.tabPage_graphic.TabIndex = 0;
            this.tabPage_graphic.Text = "Graphic";
            this.tabPage_graphic.UseVisualStyleBackColor = true;
            // 
            // stateBox
            // 
            this.stateBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.stateBox.Image = ((System.Drawing.Image)(resources.GetObject("stateBox.Image")));
            this.stateBox.Location = new System.Drawing.Point(60, 802);
            this.stateBox.Margin = new System.Windows.Forms.Padding(4);
            this.stateBox.Name = "stateBox";
            this.stateBox.Size = new System.Drawing.Size(149, 74);
            this.stateBox.TabIndex = 2;
            this.stateBox.TabStop = false;
            this.stateBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.stateBox_MouseMove);
            this.stateBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.stateBox_MouseUp);
            // 
            // statePanel
            // 
            this.statePanel.BackColor = System.Drawing.SystemColors.Window;
            this.statePanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.statePanel.Location = new System.Drawing.Point(14, 14);
            this.statePanel.Margin = new System.Windows.Forms.Padding(4);
            this.statePanel.Name = "statePanel";
            this.statePanel.Size = new System.Drawing.Size(1050, 754);
            this.statePanel.TabIndex = 0;
            this.statePanel.Click += new System.EventHandler(this.statePanel_Click);
            // 
            // tabPage_parameter
            // 
            this.tabPage_parameter.Controls.Add(this.dataGridView11);
            this.tabPage_parameter.Controls.Add(this.label21);
            this.tabPage_parameter.Controls.Add(this.dataGridView10);
            this.tabPage_parameter.Controls.Add(this.label22);
            this.tabPage_parameter.Location = new System.Drawing.Point(4, 38);
            this.tabPage_parameter.Margin = new System.Windows.Forms.Padding(4);
            this.tabPage_parameter.Name = "tabPage_parameter";
            this.tabPage_parameter.Padding = new System.Windows.Forms.Padding(4);
            this.tabPage_parameter.Size = new System.Drawing.Size(1080, 952);
            this.tabPage_parameter.TabIndex = 1;
            this.tabPage_parameter.Text = "Parameters";
            this.tabPage_parameter.UseVisualStyleBackColor = true;
            // 
            // dataGridView11
            // 
            this.dataGridView11.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dataGridView11.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView11.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewTextBoxColumn23,
            this.dataGridViewTextBoxColumn24,
            this.dataGridViewTextBoxColumn25});
            this.dataGridView11.Location = new System.Drawing.Point(118, 567);
            this.dataGridView11.Margin = new System.Windows.Forms.Padding(4);
            this.dataGridView11.Name = "dataGridView11";
            this.dataGridView11.RowTemplate.Height = 23;
            this.dataGridView11.Size = new System.Drawing.Size(864, 255);
            this.dataGridView11.TabIndex = 16;
            // 
            // dataGridViewTextBoxColumn23
            // 
            this.dataGridViewTextBoxColumn23.HeaderText = "Key";
            this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
            this.dataGridViewTextBoxColumn23.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            // 
            // dataGridViewTextBoxColumn24
            // 
            this.dataGridViewTextBoxColumn24.HeaderText = "Description";
            this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
            // 
            // dataGridViewTextBoxColumn25
            // 
            this.dataGridViewTextBoxColumn25.HeaderText = "DefaultValue";
            this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
            // 
            // label21
            // 
            this.label21.AutoSize = true;
            this.label21.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label21.Location = new System.Drawing.Point(56, 488);
            this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(264, 26);
            this.label21.TabIndex = 14;
            this.label21.Text = "ControlParameters:";
            // 
            // dataGridView10
            // 
            this.dataGridView10.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dataGridView10.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView10.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewComboBoxColumn3,
            this.dataGridViewTextBoxColumn21,
            this.dataGridViewTextBoxColumn22});
            this.dataGridView10.Location = new System.Drawing.Point(118, 147);
            this.dataGridView10.Margin = new System.Windows.Forms.Padding(4);
            this.dataGridView10.Name = "dataGridView10";
            this.dataGridView10.RowTemplate.Height = 23;
            this.dataGridView10.Size = new System.Drawing.Size(864, 255);
            this.dataGridView10.TabIndex = 13;
            // 
            // dataGridViewComboBoxColumn3
            // 
            this.dataGridViewComboBoxColumn3.HeaderText = "Key";
            this.dataGridViewComboBoxColumn3.Name = "dataGridViewComboBoxColumn3";
            this.dataGridViewComboBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            // 
            // dataGridViewTextBoxColumn21
            // 
            this.dataGridViewTextBoxColumn21.HeaderText = "Description";
            this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
            // 
            // dataGridViewTextBoxColumn22
            // 
            this.dataGridViewTextBoxColumn22.HeaderText = "DefaultValue";
            this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
            // 
            // label22
            // 
            this.label22.AutoSize = true;
            this.label22.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label22.Location = new System.Drawing.Point(56, 72);
            this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(264, 26);
            this.label22.TabIndex = 12;
            this.label22.Text = "ProcessParameters:";
            // 
            // panel3
            // 
            this.panel3.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.panel3.Controls.Add(this.Tip);
            this.panel3.Location = new System.Drawing.Point(0, 1179);
            this.panel3.Margin = new System.Windows.Forms.Padding(4);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(1174, 42);
            this.panel3.TabIndex = 23;
            // 
            // Tip
            // 
            this.Tip.AutoSize = true;
            this.Tip.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.Tip.Location = new System.Drawing.Point(8, 8);
            this.Tip.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.Tip.Name = "Tip";
            this.Tip.Size = new System.Drawing.Size(82, 26);
            this.Tip.TabIndex = 0;
            this.Tip.Text = "Ready";
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.step5);
            this.panel1.Controls.Add(this.step4);
            this.panel1.Controls.Add(this.step3);
            this.panel1.Controls.Add(this.step2);
            this.panel1.Controls.Add(this.step1);
            this.panel1.Location = new System.Drawing.Point(18, 20);
            this.panel1.Margin = new System.Windows.Forms.Padding(4);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(1137, 93);
            this.panel1.TabIndex = 17;
            // 
            // step5
            // 
            this.step5.Font = new System.Drawing.Font("等线", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.step5.Location = new System.Drawing.Point(910, 12);
            this.step5.Margin = new System.Windows.Forms.Padding(4);
            this.step5.Name = "step5";
            this.step5.Size = new System.Drawing.Size(216, 69);
            this.step5.TabIndex = 4;
            this.step5.Text = "Runtime";
            this.step5.UseVisualStyleBackColor = true;
            this.step5.Click += new System.EventHandler(this.step5_Click);
            // 
            // step4
            // 
            this.step4.Font = new System.Drawing.Font("等线", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.step4.Location = new System.Drawing.Point(686, 12);
            this.step4.Margin = new System.Windows.Forms.Padding(4);
            this.step4.Name = "step4";
            this.step4.Size = new System.Drawing.Size(216, 69);
            this.step4.TabIndex = 3;
            this.step4.Text = "Behavior";
            this.step4.UseVisualStyleBackColor = true;
            this.step4.Click += new System.EventHandler(this.step4_Click);
            // 
            // step3
            // 
            this.step3.Font = new System.Drawing.Font("等线", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.step3.Location = new System.Drawing.Point(460, 12);
            this.step3.Margin = new System.Windows.Forms.Padding(4);
            this.step3.Name = "step3";
            this.step3.Size = new System.Drawing.Size(216, 69);
            this.step3.TabIndex = 2;
            this.step3.Text = "Authors";
            this.step3.UseVisualStyleBackColor = true;
            this.step3.Click += new System.EventHandler(this.step3_Click);
            // 
            // step2
            // 
            this.step2.BackColor = System.Drawing.Color.Gainsboro;
            this.step2.Font = new System.Drawing.Font("等线", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.step2.Location = new System.Drawing.Point(236, 12);
            this.step2.Margin = new System.Windows.Forms.Padding(4);
            this.step2.Name = "step2";
            this.step2.Size = new System.Drawing.Size(216, 69);
            this.step2.TabIndex = 1;
            this.step2.Text = "Local Attribute";
            this.step2.UseVisualStyleBackColor = false;
            this.step2.Click += new System.EventHandler(this.step2_Click);
            // 
            // step1
            // 
            this.step1.BackColor = System.Drawing.Color.Aqua;
            this.step1.Font = new System.Drawing.Font("等线", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.step1.ForeColor = System.Drawing.SystemColors.ControlText;
            this.step1.Location = new System.Drawing.Point(10, 12);
            this.step1.Margin = new System.Windows.Forms.Padding(4);
            this.step1.Name = "step1";
            this.step1.Size = new System.Drawing.Size(216, 69);
            this.step1.TabIndex = 0;
            this.step1.Text = "Basic Info";
            this.step1.UseVisualStyleBackColor = false;
            this.step1.Click += new System.EventHandler(this.step1_Click);
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.tabControl1);
            this.groupBox2.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.groupBox2.Location = new System.Drawing.Point(18, 130);
            this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
            this.groupBox2.Size = new System.Drawing.Size(1137, 1035);
            this.groupBox2.TabIndex = 21;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Local Attribute";
            // 
            // tabControl1
            // 
            this.tabControl1.ContextMenuStrip = this.contextMenuStrip1;
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.add);
            this.tabControl1.Location = new System.Drawing.Point(10, 38);
            this.tabControl1.Margin = new System.Windows.Forms.Padding(4);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(1088, 972);
            this.tabControl1.TabIndex = 0;
            this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.removeToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(145, 32);
            // 
            // removeToolStripMenuItem
            // 
            this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
            this.removeToolStripMenuItem.Size = new System.Drawing.Size(144, 28);
            this.removeToolStripMenuItem.Text = "remove";
            this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click);
            // 
            // tabPage1
            // 
            this.tabPage1.AutoScroll = true;
            this.tabPage1.Controls.Add(this.groupBox3);
            this.tabPage1.Controls.Add(this.label8);
            this.tabPage1.Controls.Add(this.dataGridView1);
            this.tabPage1.Controls.Add(this.textBox5);
            this.tabPage1.Controls.Add(this.label7);
            this.tabPage1.Controls.Add(this.textBox4);
            this.tabPage1.Controls.Add(this.label6);
            this.tabPage1.Controls.Add(this.textBox3);
            this.tabPage1.Controls.Add(this.label5);
            this.tabPage1.Controls.Add(this.textBox2);
            this.tabPage1.Controls.Add(this.label4);
            this.tabPage1.Controls.Add(this.comboBox1);
            this.tabPage1.Controls.Add(this.label3);
            this.tabPage1.Location = new System.Drawing.Point(4, 38);
            this.tabPage1.Margin = new System.Windows.Forms.Padding(4);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(4);
            this.tabPage1.Size = new System.Drawing.Size(1080, 930);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "Attribute";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // groupBox3
            // 
            this.groupBox3.Controls.Add(this.dataGridView3);
            this.groupBox3.Controls.Add(this.label11);
            this.groupBox3.Controls.Add(this.dataGridView2);
            this.groupBox3.Controls.Add(this.label10);
            this.groupBox3.Controls.Add(this.comboBox2);
            this.groupBox3.Controls.Add(this.label9);
            this.groupBox3.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.groupBox3.Location = new System.Drawing.Point(45, 768);
            this.groupBox3.Margin = new System.Windows.Forms.Padding(4);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Padding = new System.Windows.Forms.Padding(4);
            this.groupBox3.Size = new System.Drawing.Size(964, 694);
            this.groupBox3.TabIndex = 14;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "Application";
            // 
            // dataGridView3
            // 
            this.dataGridView3.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
            this.dataGridView3.BackgroundColor = System.Drawing.SystemColors.ActiveCaption;
            this.dataGridView3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewTextBoxColumn4,
            this.dataGridViewTextBoxColumn5,
            this.dataGridViewTextBoxColumn6,
            this.dataGridViewTextBoxColumn7,
            this.dataGridViewTextBoxColumn8,
            this.dataGridViewTextBoxColumn9});
            this.dataGridView3.Location = new System.Drawing.Point(36, 424);
            this.dataGridView3.Margin = new System.Windows.Forms.Padding(4);
            this.dataGridView3.Name = "dataGridView3";
            this.dataGridView3.RowTemplate.Height = 23;
            this.dataGridView3.Size = new System.Drawing.Size(902, 225);
            this.dataGridView3.TabIndex = 17;
            // 
            // dataGridViewTextBoxColumn4
            // 
            this.dataGridViewTextBoxColumn4.HeaderText = "RegionName";
            this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
            this.dataGridViewTextBoxColumn4.Width = 188;
            // 
            // dataGridViewTextBoxColumn5
            // 
            this.dataGridViewTextBoxColumn5.HeaderText = "xMin";
            this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
            this.dataGridViewTextBoxColumn5.Width = 104;
            // 
            // dataGridViewTextBoxColumn6
            // 
            this.dataGridViewTextBoxColumn6.HeaderText = "xMax";
            this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
            this.dataGridViewTextBoxColumn6.Width = 104;
            // 
            // dataGridViewTextBoxColumn7
            // 
            this.dataGridViewTextBoxColumn7.HeaderText = "yMin";
            this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
            this.dataGridViewTextBoxColumn7.Width = 104;
            // 
            // dataGridViewTextBoxColumn8
            // 
            this.dataGridViewTextBoxColumn8.HeaderText = "yMax";
            this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
            this.dataGridViewTextBoxColumn8.Width = 104;
            // 
            // dataGridViewTextBoxColumn9
            // 
            this.dataGridViewTextBoxColumn9.HeaderText = "SpatialRef";
            this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
            this.dataGridViewTextBoxColumn9.Width = 188;
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label11.Location = new System.Drawing.Point(32, 386);
            this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(96, 26);
            this.label11.TabIndex = 16;
            this.label11.Text = "Scope:";
            // 
            // dataGridView2
            // 
            this.dataGridView2.AllowUserToAddRows = false;
            this.dataGridView2.AllowUserToDeleteRows = false;
            this.dataGridView2.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dataGridView2.BackgroundColor = System.Drawing.SystemColors.ActiveCaption;
            this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewTextBoxColumn1,
            this.dataGridViewTextBoxColumn2,
            this.dataGridViewTextBoxColumn3,
            this.Column4});
            this.dataGridView2.Location = new System.Drawing.Point(36, 171);
            this.dataGridView2.Margin = new System.Windows.Forms.Padding(4);
            this.dataGridView2.Name = "dataGridView2";
            this.dataGridView2.RowTemplate.Height = 23;
            this.dataGridView2.Size = new System.Drawing.Size(902, 180);
            this.dataGridView2.TabIndex = 15;
            // 
            // dataGridViewTextBoxColumn1
            // 
            this.dataGridViewTextBoxColumn1.HeaderText = "Dimension";
            this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
            this.dataGridViewTextBoxColumn1.ReadOnly = true;
            // 
            // dataGridViewTextBoxColumn2
            // 
            this.dataGridViewTextBoxColumn2.HeaderText = "Min";
            this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
            // 
            // dataGridViewTextBoxColumn3
            // 
            this.dataGridViewTextBoxColumn3.HeaderText = "Max";
            this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
            // 
            // Column4
            // 
            this.Column4.HeaderText = "Unit";
            this.Column4.Name = "Column4";
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label10.Location = new System.Drawing.Point(32, 116);
            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(390, 26);
            this.label10.TabIndex = 14;
            this.label10.Text = "Spatiotemporal Step Length:";
            // 
            // comboBox2
            // 
            this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox2.FormattingEnabled = true;
            this.comboBox2.Items.AddRange(new object[] {
            "Global",
            "Regional/Large",
            "Regional/Middle",
            "Regional/Small"});
            this.comboBox2.Location = new System.Drawing.Point(368, 52);
            this.comboBox2.Margin = new System.Windows.Forms.Padding(4);
            this.comboBox2.Name = "comboBox2";
            this.comboBox2.Size = new System.Drawing.Size(568, 34);
            this.comboBox2.TabIndex = 13;
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label9.Location = new System.Drawing.Point(32, 56);
            this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(306, 26);
            this.label9.TabIndex = 12;
            this.label9.Text = "Spatiotemporal Scale:";
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label8.Location = new System.Drawing.Point(70, 524);
            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(152, 26);
            this.label8.TabIndex = 11;
            this.label8.Text = "Mechanism:";
            // 
            // dataGridView1
            // 
            this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ActiveCaption;
            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.Column1,
            this.Column2,
            this.Column3});
            this.dataGridView1.Location = new System.Drawing.Point(258, 524);
            this.dataGridView1.Margin = new System.Windows.Forms.Padding(4);
            this.dataGridView1.Name = "dataGridView1";
            this.dataGridView1.RowTemplate.Height = 23;
            this.dataGridView1.Size = new System.Drawing.Size(752, 225);
            this.dataGridView1.TabIndex = 10;
            this.dataGridView1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView1_DataError);
            // 
            // Column1
            // 
            this.Column1.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.Column1.HeaderText = "Type";
            this.Column1.Items.AddRange(new object[] {
            "Text",
            "Algorithm",
            "Formula"});
            this.Column1.Name = "Column1";
            this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
            // 
            // Column2
            // 
            this.Column2.HeaderText = "Name";
            this.Column2.Name = "Column2";
            // 
            // Column3
            // 
            this.Column3.HeaderText = "Value";
            this.Column3.Name = "Column3";
            // 
            // textBox5
            // 
            this.textBox5.Location = new System.Drawing.Point(258, 354);
            this.textBox5.Margin = new System.Windows.Forms.Padding(4);
            this.textBox5.Multiline = true;
            this.textBox5.Name = "textBox5";
            this.textBox5.Size = new System.Drawing.Size(750, 133);
            this.textBox5.TabIndex = 9;
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label7.Location = new System.Drawing.Point(86, 360);
            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(138, 26);
            this.label7.TabIndex = 8;
            this.label7.Text = "Abstract:";
            // 
            // textBox4
            // 
            this.textBox4.Location = new System.Drawing.Point(258, 284);
            this.textBox4.Margin = new System.Windows.Forms.Padding(4);
            this.textBox4.Name = "textBox4";
            this.textBox4.Size = new System.Drawing.Size(750, 40);
            this.textBox4.TabIndex = 7;
            this.textBox4.Enter += new System.EventHandler(this.keywords_Enter);
            this.textBox4.Leave += new System.EventHandler(this.Control_Leave);
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label6.Location = new System.Drawing.Point(86, 288);
            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(138, 26);
            this.label6.TabIndex = 6;
            this.label6.Text = "Keywords:";
            // 
            // textBox3
            // 
            this.textBox3.Location = new System.Drawing.Point(258, 207);
            this.textBox3.Margin = new System.Windows.Forms.Padding(4);
            this.textBox3.Name = "textBox3";
            this.textBox3.Size = new System.Drawing.Size(750, 40);
            this.textBox3.TabIndex = 5;
            this.textBox3.Enter += new System.EventHandler(this.wiki_Enter);
            this.textBox3.Leave += new System.EventHandler(this.Control_Leave);
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label5.Location = new System.Drawing.Point(146, 214);
            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(82, 26);
            this.label5.TabIndex = 4;
            this.label5.Text = "Wiki:";
            // 
            // textBox2
            // 
            this.textBox2.Location = new System.Drawing.Point(258, 130);
            this.textBox2.Margin = new System.Windows.Forms.Padding(4);
            this.textBox2.Name = "textBox2";
            this.textBox2.Size = new System.Drawing.Size(750, 40);
            this.textBox2.TabIndex = 3;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label4.Location = new System.Drawing.Point(56, 138);
            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(166, 26);
            this.label4.TabIndex = 2;
            this.label4.Text = "Local Name:";
            // 
            // comboBox1
            // 
            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox1.FormattingEnabled = true;
            this.comboBox1.Items.AddRange(new object[] {
            "EN_US",
            "ZH_CN",
            "DE_DE",
            "RU_RU",
            "AR",
            "ES",
            "Others"});
            this.comboBox1.Location = new System.Drawing.Point(258, 56);
            this.comboBox1.Margin = new System.Windows.Forms.Padding(4);
            this.comboBox1.Name = "comboBox1";
            this.comboBox1.Size = new System.Drawing.Size(750, 36);
            this.comboBox1.TabIndex = 1;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label3.Location = new System.Drawing.Point(86, 62);
            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(138, 26);
            this.label3.TabIndex = 0;
            this.label3.Text = "Language:";
            // 
            // add
            // 
            this.add.Location = new System.Drawing.Point(4, 38);
            this.add.Margin = new System.Windows.Forms.Padding(4);
            this.add.Name = "add";
            this.add.Size = new System.Drawing.Size(1080, 930);
            this.add.TabIndex = 1;
            this.add.Text = "  +";
            this.add.UseVisualStyleBackColor = true;
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.comboBox3);
            this.groupBox1.Controls.Add(this.label20);
            this.groupBox1.Controls.Add(this.treeTip);
            this.groupBox1.Controls.Add(this.button1);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.treeView1);
            this.groupBox1.Controls.Add(this.textBox1);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.groupBox1.Location = new System.Drawing.Point(18, 130);
            this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
            this.groupBox1.Size = new System.Drawing.Size(1137, 1035);
            this.groupBox1.TabIndex = 20;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Basic Info";
            // 
            // comboBox3
            // 
            this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox3.FormattingEnabled = true;
            this.comboBox3.Items.AddRange(new object[] {
            "SimpleCalculation",
            "TimeSeries",
            "StateSimulation"});
            this.comboBox3.Location = new System.Drawing.Point(192, 165);
            this.comboBox3.Margin = new System.Windows.Forms.Padding(4);
            this.comboBox3.Name = "comboBox3";
            this.comboBox3.Size = new System.Drawing.Size(868, 36);
            this.comboBox3.TabIndex = 7;
            // 
            // label20
            // 
            this.label20.AutoSize = true;
            this.label20.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label20.Location = new System.Drawing.Point(70, 170);
            this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(102, 28);
            this.label20.TabIndex = 6;
            this.label20.Text = "Style:";
            // 
            // treeTip
            // 
            this.treeTip.AutoSize = true;
            this.treeTip.Location = new System.Drawing.Point(274, 254);
            this.treeTip.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.treeTip.Name = "treeTip";
            this.treeTip.Size = new System.Drawing.Size(348, 28);
            this.treeTip.TabIndex = 5;
            this.treeTip.Text = "0 Item has been selected";
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(774, 242);
            this.button1.Margin = new System.Windows.Forms.Padding(4);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(192, 51);
            this.button1.TabIndex = 4;
            this.button1.Text = "Clear All";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.Location = new System.Drawing.Point(70, 254);
            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(177, 28);
            this.label2.TabIndex = 3;
            this.label2.Text = "Categories:";
            // 
            // treeView1
            // 
            this.treeView1.CheckBoxes = true;
            this.treeView1.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.treeView1.Location = new System.Drawing.Point(76, 322);
            this.treeView1.Margin = new System.Windows.Forms.Padding(4);
            this.treeView1.Name = "treeView1";
            treeNode47.Name = "节点8";
            treeNode47.Text = "Water System Synthetic Models";
            treeNode48.Name = "节点9";
            treeNode48.Text = "Atmosphere Water System Models";
            treeNode49.Name = "节点10";
            treeNode49.Text = "Ocean Water System Models";
            treeNode50.Name = "节点11";
            treeNode50.Text = "Surface Water System Models";
            treeNode51.Name = "节点12";
            treeNode51.Text = "Underground Water System Models";
            treeNode52.Name = "节点13";
            treeNode52.Text = "Ice-Snow Water System Models";
            treeNode53.Name = "节点1";
            treeNode53.Text = "Water System Models";
            treeNode54.Name = "节点14";
            treeNode54.Text = "Soil System Synthetic Models";
            treeNode55.Name = "节点15";
            treeNode55.Text = "Soil System Physical Models";
            treeNode56.Name = "节点16";
            treeNode56.Text = "Soil System Chemical Models";
            treeNode57.Name = "节点17";
            treeNode57.Text = "Soil System Ecological Models";
            treeNode58.Name = "节点18";
            treeNode58.Text = "Soil System Statistical Models";
            treeNode59.Name = "节点2";
            treeNode59.Text = "Soil System Models";
            treeNode60.Name = "节点19";
            treeNode60.Text = "Atmosphere Models";
            treeNode61.Name = "节点20";
            treeNode61.Text = "Atmosphere System Physical Models";
            treeNode62.Name = "节点21";
            treeNode62.Text = "Atmosphere System Chemical Models";
            treeNode63.Name = "节点22";
            treeNode63.Text = "Atmosphere System Ecological Models";
            treeNode64.Name = "节点23";
            treeNode64.Text = "Atmosphere System Statistical Models";
            treeNode65.Name = "节点3";
            treeNode65.Text = "Atmosphere System Models";
            treeNode66.Name = "节点24";
            treeNode66.Text = "Ecology System Synthetic Models";
            treeNode67.Name = "节点25";
            treeNode67.Text = "Forest Ecology System Models";
            treeNode68.Name = "节点26";
            treeNode68.Text = "Agriculture Ecology System Models";
            treeNode69.Name = "节点27";
            treeNode69.Text = "Grassland Ecology System Models";
            treeNode70.Name = "节点28";
            treeNode70.Text = "Wetland Ecology System Models";
            treeNode71.Name = "节点29";
            treeNode71.Text = "Freshwater Ecology System Models";
            treeNode72.Name = "节点30";
            treeNode72.Text = "Seawater Ecology System Models";
            treeNode73.Name = "节点31";
            treeNode73.Text = "City Ecology System Models";
            treeNode74.Name = "节点4";
            treeNode74.Text = "Ecology System Models";
            treeNode75.Name = "节点32";
            treeNode75.Text = "Human/Society/Economy System Synthetic Models";
            treeNode76.Name = "节点33";
            treeNode76.Text = "Human/Society/Economy System Physical Models";
            treeNode77.Name = "节点34";
            treeNode77.Text = "Human/Society/Economy System Chemical Models";
            treeNode78.Name = "节点35";
            treeNode78.Text = "Human/Society/Economy System Ecological Models";
            treeNode79.Name = "节点36";
            treeNode79.Text = "Human/Society/Economy System Statistical Models";
            treeNode80.Name = "节点5";
            treeNode80.Text = "Human/Society/Economy System Models";
            treeNode81.Name = "节点37";
            treeNode81.Text = "Atmosphere System Models";
            treeNode82.Name = "节点38";
            treeNode82.Text = "Land Surface Models";
            treeNode83.Name = "节点39";
            treeNode83.Text = "Ocean Models";
            treeNode84.Name = "节点40";
            treeNode84.Text = "Ice Snow Models";
            treeNode85.Name = "节点41";
            treeNode85.Text = "Solid Earth Models";
            treeNode86.Name = "节点6";
            treeNode86.Text = "Global Models";
            treeNode87.Name = "节点42";
            treeNode87.Text = "Data management tools";
            treeNode88.Name = "节点43";
            treeNode88.Text = "Geostatistical Analyst Tools";
            treeNode89.Name = "节点44";
            treeNode89.Text = "Spatial Analyst Tools";
            treeNode90.Name = "节点45";
            treeNode90.Text = "3D Analyst Tools";
            treeNode91.Name = "节点7";
            treeNode91.Text = "GIS Analysis Tools";
            treeNode92.Name = "节点0";
            treeNode92.Text = "Earth System Classification";
            this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode92});
            this.treeView1.Size = new System.Drawing.Size(984, 644);
            this.treeView1.TabIndex = 2;
            this.treeView1.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterCheck);
            // 
            // textBox1
            // 
            this.textBox1.Location = new System.Drawing.Point(170, 76);
            this.textBox1.Margin = new System.Windows.Forms.Padding(4);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(890, 40);
            this.textBox1.TabIndex = 1;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.Location = new System.Drawing.Point(70, 81);
            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(87, 28);
            this.label1.TabIndex = 0;
            this.label1.Text = "Name:";
            // 
            // groupBox4
            // 
            this.groupBox4.Controls.Add(this.dataGridView4);
            this.groupBox4.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.groupBox4.Location = new System.Drawing.Point(18, 130);
            this.groupBox4.Margin = new System.Windows.Forms.Padding(4);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Padding = new System.Windows.Forms.Padding(4);
            this.groupBox4.Size = new System.Drawing.Size(1137, 1035);
            this.groupBox4.TabIndex = 19;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "Authors";
            // 
            // dataGridView4
            // 
            this.dataGridView4.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
            this.dataGridView4.BackgroundColor = System.Drawing.SystemColors.ActiveCaption;
            this.dataGridView4.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView4.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.Column5,
            this.Column14,
            this.Column6,
            this.Column7,
            this.Column8,
            this.Column9,
            this.Column10,
            this.Column11,
            this.Column12,
            this.Column13});
            this.dataGridView4.Location = new System.Drawing.Point(16, 38);
            this.dataGridView4.Margin = new System.Windows.Forms.Padding(4);
            this.dataGridView4.Name = "dataGridView4";
            this.dataGridView4.RowTemplate.Height = 23;
            this.dataGridView4.Size = new System.Drawing.Size(1082, 962);
            this.dataGridView4.TabIndex = 0;
            this.dataGridView4.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView1_DataError);
            // 
            // Column5
            // 
            this.Column5.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.Column5.HeaderText = "Type";
            this.Column5.Items.AddRange(new object[] {
            "Author",
            "Builder",
            "Wrapper"});
            this.Column5.Name = "Column5";
            this.Column5.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            this.Column5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
            this.Column5.Width = 104;
            // 
            // Column14
            // 
            this.Column14.HeaderText = "Account";
            this.Column14.Name = "Column14";
            this.Column14.Width = 146;
            // 
            // Column6
            // 
            this.Column6.HeaderText = "Name";
            this.Column6.Name = "Column6";
            this.Column6.Width = 104;
            // 
            // Column7
            // 
            this.Column7.HeaderText = "insName";
            this.Column7.Name = "Column7";
            this.Column7.Width = 146;
            // 
            // Column8
            // 
            this.Column8.HeaderText = "insCountry";
            this.Column8.Name = "Column8";
            this.Column8.Width = 188;
            // 
            // Column9
            // 
            this.Column9.HeaderText = "insCity";
            this.Column9.Name = "Column9";
            this.Column9.Width = 146;
            // 
            // Column10
            // 
            this.Column10.HeaderText = "insAddress";
            this.Column10.Name = "Column10";
            this.Column10.Width = 188;
            // 
            // Column11
            // 
            this.Column11.HeaderText = "Email";
            this.Column11.Name = "Column11";
            this.Column11.Width = 118;
            // 
            // Column12
            // 
            this.Column12.HeaderText = "Fax";
            this.Column12.Name = "Column12";
            this.Column12.Width = 90;
            // 
            // Column13
            // 
            this.Column13.HeaderText = "Phone";
            this.Column13.Name = "Column13";
            this.Column13.Width = 118;
            // 
            // groupBox5
            // 
            this.groupBox5.Controls.Add(this.button2);
            this.groupBox5.Controls.Add(this.dataGridView8);
            this.groupBox5.Controls.Add(this.label19);
            this.groupBox5.Controls.Add(this.dataGridView7);
            this.groupBox5.Controls.Add(this.label18);
            this.groupBox5.Controls.Add(this.dataGridView6);
            this.groupBox5.Controls.Add(this.label17);
            this.groupBox5.Controls.Add(this.dataGridView5);
            this.groupBox5.Controls.Add(this.label16);
            this.groupBox5.Controls.Add(this.textBox9);
            this.groupBox5.Controls.Add(this.label15);
            this.groupBox5.Controls.Add(this.textBox8);
            this.groupBox5.Controls.Add(this.label14);
            this.groupBox5.Controls.Add(this.textBox7);
            this.groupBox5.Controls.Add(this.label13);
            this.groupBox5.Controls.Add(this.textBox6);
            this.groupBox5.Controls.Add(this.label12);
            this.groupBox5.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.groupBox5.Location = new System.Drawing.Point(18, 130);
            this.groupBox5.Margin = new System.Windows.Forms.Padding(4);
            this.groupBox5.Name = "groupBox5";
            this.groupBox5.Padding = new System.Windows.Forms.Padding(4);
            this.groupBox5.Size = new System.Drawing.Size(1137, 1035);
            this.groupBox5.TabIndex = 18;
            this.groupBox5.TabStop = false;
            this.groupBox5.Text = "Runtime";
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(999, 267);
            this.button2.Margin = new System.Windows.Forms.Padding(4);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(58, 46);
            this.button2.TabIndex = 16;
            this.button2.Text = "…";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // dataGridView8
            // 
            this.dataGridView8.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dataGridView8.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView8.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewTextBoxColumn19,
            this.dataGridViewTextBoxColumn20});
            this.dataGridView8.Location = new System.Drawing.Point(332, 860);
            this.dataGridView8.Margin = new System.Windows.Forms.Padding(4);
            this.dataGridView8.Name = "dataGridView8";
            this.dataGridView8.RowTemplate.Height = 23;
            this.dataGridView8.Size = new System.Drawing.Size(726, 154);
            this.dataGridView8.TabIndex = 15;
            // 
            // dataGridViewTextBoxColumn19
            // 
            this.dataGridViewTextBoxColumn19.HeaderText = "Type";
            this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
            // 
            // dataGridViewTextBoxColumn20
            // 
            this.dataGridViewTextBoxColumn20.HeaderText = "Name";
            this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
            // 
            // label19
            // 
            this.label19.AutoSize = true;
            this.label19.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label19.Location = new System.Drawing.Point(10, 860);
            this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(292, 26);
            this.label19.TabIndex = 14;
            this.label19.Text = "SupportiveResources:";
            // 
            // dataGridView7
            // 
            this.dataGridView7.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dataGridView7.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView7.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewTextBoxColumn16,
            this.dataGridViewTextBoxColumn17});
            this.dataGridView7.Location = new System.Drawing.Point(332, 693);
            this.dataGridView7.Margin = new System.Windows.Forms.Padding(4);
            this.dataGridView7.Name = "dataGridView7";
            this.dataGridView7.RowTemplate.Height = 23;
            this.dataGridView7.Size = new System.Drawing.Size(726, 154);
            this.dataGridView7.TabIndex = 13;
            // 
            // dataGridViewTextBoxColumn16
            // 
            this.dataGridViewTextBoxColumn16.HeaderText = "Name";
            this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
            // 
            // dataGridViewTextBoxColumn17
            // 
            this.dataGridViewTextBoxColumn17.HeaderText = "Path";
            this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
            // 
            // label18
            // 
            this.label18.AutoSize = true;
            this.label18.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label18.Location = new System.Drawing.Point(146, 693);
            this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(166, 26);
            this.label18.TabIndex = 12;
            this.label18.Text = "Assemblies:";
            // 
            // dataGridView6
            // 
            this.dataGridView6.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dataGridView6.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView6.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewTextBoxColumn13,
            this.dataGridViewTextBoxColumn14,
            this.dataGridViewTextBoxColumn15});
            this.dataGridView6.Location = new System.Drawing.Point(332, 525);
            this.dataGridView6.Margin = new System.Windows.Forms.Padding(4);
            this.dataGridView6.Name = "dataGridView6";
            this.dataGridView6.RowTemplate.Height = 23;
            this.dataGridView6.Size = new System.Drawing.Size(726, 147);
            this.dataGridView6.TabIndex = 11;
            this.dataGridView6.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView1_DataError);
            // 
            // dataGridViewTextBoxColumn13
            // 
            this.dataGridViewTextBoxColumn13.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.dataGridViewTextBoxColumn13.HeaderText = "Environment";
            this.dataGridViewTextBoxColumn13.Items.AddRange(new object[] {
            "Operating System",
            "Java SE Development Kit",
            "Python",
            "MATLAB",
            "Microsoft Visual C++ Redistributable",
            "MongoDB",
            "Microsoft SQL Server Database Engine Shared",
            "Node.js",
            "Microsoft Visual C++ Runtime",
            "Apache Tomact"});
            this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
            this.dataGridViewTextBoxColumn13.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridViewTextBoxColumn13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
            // 
            // dataGridViewTextBoxColumn14
            // 
            this.dataGridViewTextBoxColumn14.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.dataGridViewTextBoxColumn14.HeaderText = "Platform";
            this.dataGridViewTextBoxColumn14.Items.AddRange(new object[] {
            "x64",
            "x86"});
            this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
            this.dataGridViewTextBoxColumn14.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridViewTextBoxColumn14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
            // 
            // dataGridViewTextBoxColumn15
            // 
            this.dataGridViewTextBoxColumn15.HeaderText = "Value";
            this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
            // 
            // label17
            // 
            this.label17.AutoSize = true;
            this.label17.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label17.Location = new System.Drawing.Point(26, 525);
            this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(278, 26);
            this.label17.TabIndex = 10;
            this.label17.Text = "SoftwareConfigures:";
            // 
            // dataGridView5
            // 
            this.dataGridView5.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dataGridView5.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView5.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewTextBoxColumn10,
            this.dataGridViewTextBoxColumn11,
            this.dataGridViewTextBoxColumn12});
            this.dataGridView5.Location = new System.Drawing.Point(332, 348);
            this.dataGridView5.Margin = new System.Windows.Forms.Padding(4);
            this.dataGridView5.Name = "dataGridView5";
            this.dataGridView5.RowTemplate.Height = 23;
            this.dataGridView5.Size = new System.Drawing.Size(726, 150);
            this.dataGridView5.TabIndex = 9;
            this.dataGridView5.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView1_DataError);
            // 
            // dataGridViewTextBoxColumn10
            // 
            this.dataGridViewTextBoxColumn10.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.dataGridViewTextBoxColumn10.HeaderText = "Configures";
            this.dataGridViewTextBoxColumn10.Items.AddRange(new object[] {
            "memory size",
            "cpu core number",
            "cpu frequency",
            "disk avail size",
            "cpu model"});
            this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
            this.dataGridViewTextBoxColumn10.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridViewTextBoxColumn10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
            // 
            // dataGridViewTextBoxColumn11
            // 
            this.dataGridViewTextBoxColumn11.HeaderText = "Min";
            this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
            // 
            // dataGridViewTextBoxColumn12
            // 
            this.dataGridViewTextBoxColumn12.HeaderText = "Max";
            this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
            // 
            // label16
            // 
            this.label16.AutoSize = true;
            this.label16.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label16.Location = new System.Drawing.Point(26, 348);
            this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(278, 26);
            this.label16.TabIndex = 8;
            this.label16.Text = "HardwareConfigures:";
            // 
            // textBox9
            // 
            this.textBox9.Location = new System.Drawing.Point(332, 268);
            this.textBox9.Margin = new System.Windows.Forms.Padding(4);
            this.textBox9.Name = "textBox9";
            this.textBox9.Size = new System.Drawing.Size(666, 40);
            this.textBox9.TabIndex = 7;
            this.textBox9.Enter += new System.EventHandler(this.textBox9_Enter);
            this.textBox9.Leave += new System.EventHandler(this.Control_Leave);
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label15.Location = new System.Drawing.Point(220, 273);
            this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(96, 26);
            this.label15.TabIndex = 6;
            this.label15.Text = "Entry:";
            // 
            // textBox8
            // 
            this.textBox8.Location = new System.Drawing.Point(332, 194);
            this.textBox8.Margin = new System.Windows.Forms.Padding(4);
            this.textBox8.Name = "textBox8";
            this.textBox8.Size = new System.Drawing.Size(724, 40);
            this.textBox8.TabIndex = 5;
            this.textBox8.Enter += new System.EventHandler(this.textBox8_Enter);
            this.textBox8.Leave += new System.EventHandler(this.Control_Leave);
            // 
            // label14
            // 
            this.label14.AutoSize = true;
            this.label14.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label14.Location = new System.Drawing.Point(190, 198);
            this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(124, 26);
            this.label14.TabIndex = 4;
            this.label14.Text = "BaseDir:";
            // 
            // textBox7
            // 
            this.textBox7.Location = new System.Drawing.Point(332, 117);
            this.textBox7.Margin = new System.Windows.Forms.Padding(4);
            this.textBox7.Name = "textBox7";
            this.textBox7.Size = new System.Drawing.Size(724, 40);
            this.textBox7.TabIndex = 3;
            this.textBox7.Enter += new System.EventHandler(this.textBox7_Enter);
            this.textBox7.Leave += new System.EventHandler(this.Control_Leave);
            // 
            // label13
            // 
            this.label13.AutoSize = true;
            this.label13.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label13.Location = new System.Drawing.Point(190, 122);
            this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(124, 26);
            this.label13.TabIndex = 2;
            this.label13.Text = "Version:";
            // 
            // textBox6
            // 
            this.textBox6.Location = new System.Drawing.Point(332, 40);
            this.textBox6.Margin = new System.Windows.Forms.Padding(4);
            this.textBox6.Name = "textBox6";
            this.textBox6.Size = new System.Drawing.Size(724, 40);
            this.textBox6.TabIndex = 1;
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label12.Location = new System.Drawing.Point(236, 45);
            this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(82, 26);
            this.label12.TabIndex = 0;
            this.label12.Text = "Name:";
            // 
            // frm_mdl
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
            this.AutoScroll = true;
            this.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
            this.ClientSize = new System.Drawing.Size(1174, 1260);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.menuStrip1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.KeyPreview = true;
            this.MainMenuStrip = this.menuStrip1;
            this.Margin = new System.Windows.Forms.Padding(4);
            this.Name = "frm_mdl";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "MDL Generator";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.main_KeyDown);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.groupBox6.ResumeLayout(false);
            this.tabControl2.ResumeLayout(false);
            this.tabPage_graphic.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.stateBox)).EndInit();
            this.tabPage_parameter.ResumeLayout(false);
            this.tabPage_parameter.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView11)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView10)).EndInit();
            this.panel3.ResumeLayout(false);
            this.panel3.PerformLayout();
            this.panel1.ResumeLayout(false);
            this.groupBox2.ResumeLayout(false);
            this.tabControl1.ResumeLayout(false);
            this.contextMenuStrip1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.tabPage1.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView4)).EndInit();
            this.groupBox5.ResumeLayout(false);
            this.groupBox5.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView5)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

		}
	}
}
